require 'formula'

class Dxflib < Formula
  homepage 'http://www.ribbonsoft.com/en/what-is-dxflib'
  url 'http://www.ribbonsoft.com/archives/dxflib/dxflib-2.5.0.0-1.src.tar.gz'
  sha1 'af2e496aaf097e40bdb5d6155ba9b0d176d71729'

  bottle do
    cellar :any
    revision 1
    sha1 "58c0add8f6f8c5211ca4e59bc185468531431765" => :yosemite
    sha1 "2184e3835e92a57a52854ad82f966a9e186c30e0" => :mavericks
    sha1 "238319c0040cde6d76fa085f086adef65c3c15f0" => :mountain_lion
  end

  def install
    system "./configure", "--prefix=#{prefix}"
    system "make install"
  end
end
